import request from '@/utils/request.js'

export function getPhotoList(data){
	return request({
		url:'/record/photo/my/list',
		method:'get',
		data:data
	})
}

export function addPhoto(data){
	return request({
		url:'/record/photo',
		method:'post',
		data:data
	})
}

export function deletePhoto(data){
	return request({
		url:'/record/photo/'+data,
		method:'delete'
	})
}

export function getPhoto(data){
	return request({
		url:'/record/photo/'+data,
		method:'get'
	})
}